package cn.qiao.mdc.spring;

import cn.qiao.mdc.util.Util;
import org.aopalliance.intercept.MethodInterceptor;
import org.aopalliance.intercept.MethodInvocation;

public class MDCInterceptor implements MethodInterceptor {

    @Override
    public Object invoke(MethodInvocation invocation) throws Throwable {
        return Util.trace(invocation::proceed);
    }
}
